<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.jspsmart.upload.*" %>
<%
//response.reset();
//response.setContentType("application/vnd.ms-excel");
try{
String fileName=(String)request.getAttribute("fileName");
//System.out.println("msFilename = "+fileName);
SmartUpload su = new SmartUpload();
su.initialize(pageContext);
su.setContentDisposition(null);
su.downloadFile(fileName);
out.clear();
out=pageContext.pushBody();
}catch(Exception e){
e.printStackTrace();
//throw e;
}
%>